/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.ismaila.designPatterns.behavioural.command.factories;

import za.ac.cput.ismaila.designPatterns.behavioural.command.*;

/**
 *
 * @author 210151927
 */
public class AppFactory {

    public static Lunch createLunch() {
        return new Lunch();
    }

    public static Command createLunchCommand(Lunch lunch) {
        return new LunchCommand(lunch);
    }

    public static Dinner createDinner() {
        return new Dinner();
    }

    public static Command createDinnerCommand(Dinner dinner) {
        return new DinnerCommand(dinner);
    }

    public static MealInvoker createMealInvoker(Command lunchCommand) {
        return new MealInvoker(lunchCommand);
    }
    
}
